package com.scut.fy.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * TODO
 *
 * @author JY
 * @version 1.0
 * @date 2021/8/20
 */
@SpringBootApplication(scanBasePackages = {"com.scut.fy.gateway", "com.scut.fy.common"})
@EnableFeignClients
@EnableDiscoveryClient
@RefreshScope
public class FyGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(FyGatewayApplication.class, args);
    }
}
